package com.railway.field.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "Rebar" , description = "钢筋绑扎区对象表")
public class Rebar {
    @ApiModelProperty(value = "梁id" , name = "id")
    private int id;

    @ApiModelProperty(value = "用户id" , name = "user_id")
    private int user_id;

    @ApiModelProperty(value = "台座名称" , name = "rebar_name")
    private String rebar_name;

    @ApiModelProperty(value = "梁编号" , name = "girder_name")
    private String girder_name;

    @ApiModelProperty(value = "状态(空闲,钢筋绑扎中)" , name = "state")
    private String state;

    public Rebar(){
        super();
    }

    public Rebar(int id, int user_id, String rebar_name, String girder_name, String state) {
        this.id = id;
        this.user_id = user_id;
        this.rebar_name = rebar_name;
        this.girder_name = girder_name;
        this.state = state;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getUser_id() {
        return user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    public String getRebar_name() {
        return rebar_name;
    }

    public void setRebar_name(String rebar_name) {
        this.rebar_name = rebar_name;
    }

    public String getGirder_name() {
        return girder_name;
    }

    public void setGirder_name(String girder_name) {
        this.girder_name = girder_name;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }
}
